package com.ziyan.dto;

import org.apache.commons.lang3.StringUtils;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Created by ZMy on 2017/5/24.
 */
public class AppInfoDTO implements Serializable {
    String appid;
    String ran;
    String sign;
    String timestamp;

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getRan() {
        return ran;
    }

    public void setRan(String ran) {
        this.ran = ran;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public boolean isBlank() {
        return StringUtils.isBlank(appid)
                || StringUtils.isBlank(ran)
                || StringUtils.isBlank(sign)
                || StringUtils.isBlank(timestamp);
    }

}
